#include "driver_spi.h"
//#include "spi.h"

#define SPI_1 hspi1

#ifdef SPI_1

//int32_t driver_spi_write_byte(uint8_t dat)
//{ 
//	return HAL_SPI_Transmit(&SPI_1, &dat, 1, 10); // 发送1字节数据
//}

//int32_t driver_spi_write_len(uint8_t *data, uint32_t len)
//{
//	return HAL_SPI_Transmit(&SPI_1, data, len, 10); // 发送1字节数据
//}

#endif

